<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- 引入 -->
<%@ include file="inc/head.jsp"%>
<title>我的订单</title>
</head>
<body>

	<!-- 头部 -->
	<%@ include file="inc/head2.jsp"%>

	<!-- 购物车 -->
	<%@ include file="inc/shopping.jsp"%>

	<div class="i_bg bg_color">
		<!--Begin 用户中心 Begin -->
		<div class="m_content">

			<!-- 左边 -->
			<%@ include file="inc/m_left.jsp"%>

			<div class="m_right" id="content">
				<p></p>
				<p></p>
				<div class="mem_tit">订单列表</div>
				<table border="0" class="order_tab"
					style="width: 930px; text-align: center; margin-bottom: 30px;"
					cellspacing="0" cellpadding="0">
					<tbody>



						<tr class="td_bg">
							<td style="display: none">用户名:${list2.id}</td>
							<td>用户名:${sessionScope.userName}</td>
							<td><a href="#">订单号:${list2.serialNumber }</a></td>
							<td>地址:${list2.userAddress }</td>
							<td>￥ ${list2.cost }</td>
						</tr>
						<tr>
						</tr>
						<tr>
							<td colspan="4">
								<table border="0" class="order_tab"
									style="width: 930px; text-align: center; margin-bottom: 30px;"
									cellspacing="0" cellpadding="0">
									<tbody>
										<tr>
											<td width="20%">商品名称</td>
											<td width="20%">商品图片</td>
											<td width="25%">数量</td>
											<td width="25%">价格</td>
										</tr>
										<c:forEach items="${list4}" var="a">
											<tr>
												<td>${a.name }</td>
												<td><a href="#" target="_blank"> <img
														src="${pageContext.request.contextPath }/files/${a.fileName}"
														width="50" height="50"></a></td>
												<td>${a.quantity }</td>
												<td>${a.cost}</td>
											</tr>
										</c:forEach>
									</tbody>

								</table>
							</td>
						</tr>
					</tbody>
				</table>

				<div class="pages">
					<a href="#" class="p_pre">首页</a><a href="#" class="cur">1</a><a
						href="#" class="p_pre">尾页</a>
				</div>

			</div>

		</div>
		<!-- 脚部 -->
		<%@ include file="inc/footer.jsp" %>
	</div>
</body>
</html>
